import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class EDressPos
    
    export  class EDressPos
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public static __read(arg1: SerializeStream): EDressPos
        {
            var loc1=arg1.readByte();
            if (loc1 < 0 || loc1 >= 83) 
            {
                throw new MarshalException();
            }
            return EDressPos.convert(loc1);
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeByte(this.__value);
            return;
        }

        public static convert(arg1: int): EDressPos
        {
            return new EDressPos(arg1);
        }

        public static /* const */_EDressPosShoulder: int=2;

        public static /* const */_EDressPosClothes: int=3;

        public static /* const */_EDressPosBelt: int=4;

        public static /* const */_EDressPosPants: int=5;

        public static /* const */_EDressPosShoes: int=6;

        public static /* const */_EDressPosWeapon: int=7;

        public static /* const */_EDressPosJewelry1: int=8;

        public static /* const */_EDressPosJewelry2: int=9;

        public static /* const */_EDressPosRing1: int=10;

        public static /* const */_EDressPosRing2: int=11;

        public static /* const */_EDressPosWristlet: int=12;

        public static /* const */_EDressPosGloves: int=13;

        public static /* const */_EDressPosFashion: int=14;

        public static /* const */_EDressPosMount: int=15;

        public static /* const */_EDressPosHeartLock: int=16;

        public static /* const */_EDressPosWing: int=17;

        public static /* const */_EDressPosFashionWeapon: int=18;

        public static /* const */_EDressAmuletPosWeapon: int=19;

        public static /* const */_EDressAmuletPosHelmet: int=20;

        public static /* const */_EDressAmuletPoShoulder: int=21;

        public static /* const */_EDressAmuletPosClothes: int=22;

        public static /* const */_EDressAmuletPosPants: int=23;

        public static /* const */_EDressPosHarmMedalDeeper: int=24;

        public static /* const */_EDressPosHarmMedalLower: int=25;

        public static /* const */_EDressPosFootPrint: int=26;

        public static /* const */_EDressSpiritPosDragonHead: int=27;

        public static /* const */_EDressSpiritPosDragonNeck: int=28;

        public static /* const */_EDressSpiritPosDragonBody: int=29;

        public static /* const */_EDressSpiritPosDragonTail: int=30;

        public static /* const */_EDressSpiritPosDragonLeftPaw: int=31;

        public static /* const */_EDressSpiritPosDragonRightPaw: int=32;

        public static /* const */_EDressSpiritPosDragonLeftLeg: int=33;

        public static /* const */_EDressSpiritPosDragonRightLeg: int=34;

        public static /* const */_EDressSpiritPosTigerHead: int=35;

        public static /* const */_EDressSpiritPosTigerNeck: int=36;

        public static /* const */_EDressSpiritPosTigerBody: int=37;

        public static /* const */_EDressSpiritPosTigerTail: int=38;

        public static /* const */_EDressSpiritPosTigerLeftPaw: int=39;

        public static /* const */_EDressSpiritPosTigerRightPaw: int=40;

        public static /* const */_EDressSpiritPosTigerLeftLeg: int=41;

        public static /* const */_EDressSpiritPosTigerRightLeg: int=42;

        public static /* const */_EDressSpiritPosSuzakuHead: int=43;

        public static /* const */_EDressSpiritPosSuzakuNeck: int=44;

        public static /* const */_EDressSpiritPosSuzakuBody: int=45;

        public static /* const */_EDressSpiritPosSuzakuTail: int=46;

        public static /* const */_EDressSpiritPosSuzakuLeftPaw: int=47;

        public static /* const */_EDressSpiritPosSuzakuRightPaw: int=48;

        public static /* const */_EDressSpiritPosSuzakuLeftLeg: int=49;

        public static /* const */_EDressSpiritPosSuzakuRightLeg: int=50;

        public static /* const */_EDressSpiritPosBasalticHead: int=51;

        public static /* const */_EDressSpiritPosBasalticNeck: int=52;

        public static /* const */_EDressSpiritPosBasalticBody: int=53;

        public static /* const */_EDressSpiritPosBasalticTail: int=54;

        public static /* const */_EDressSpiritPosBasalticLeftPaw: int=55;

        public static /* const */_EDressSpiritPosBasalticRightPaw: int=56;

        public static /* const */_EDressSpiritPosBasalticLeftLeg: int=57;

        public static /* const */_EDressSpiritPosBasalticRightLeg: int=58;

        public static /* const */_EDressSpiritPosKirinHead: int=59;

        public static /* const */_EDressSpiritPosKirinNeck: int=60;

        public static /* const */_EDressSpiritPosKirinBody: int=61;

        public static /* const */_EDressSpiritPosKirinLeftPaw: int=63;

        public static /* const */_EDressSpiritPosKirinRightPaw: int=64;

        public static /* const */_EDressSpiritPosKirinLeftLeg: int=65;

        public static /* const */_EDressSpiritPosKirinRightLeg: int=66;

        public static /* const */_EDressMountEquipSaddle: int=67;

        public static /* const */_EDressMountEquipClothes: int=68;

        public static /* const */_EDressMountEquipStirrup: int=69;

        public static /* const */_EDressMountEquipRein: int=70;

        public static /* const */_EDressPosBubble: int=71;

        public static /* const */_EDressPosSurround: int=72;

        public static /* const */_EDressSpiritPosKirinTail: int=62;

        public static /* const */_EDressSpiritPosChaosNeck: int=74;

        public static /* const */_EDressSpiritPosChaosBody: int=75;

        public static /* const */_EDressSpiritPosChaosTail: int=76;

        public static /* const */_EDressSpiritPosChaosLeftPaw: int=77;

        public static /* const */_EDressSpiritPosChaosRightPaw: int=78;

        public static /* const */_EDressSpiritPosChaosLeftLeg: int=79;

        public static /* const */_EDressSpiritPosChaosRightLeg: int=80;

        public static /* const */_EDressPosWaistBelt: int=81;

        public static /* const */_EDressPosElf: int=82;

        public static /* const */_EDressPosHelmet: int=1;

        public static /* const */_EDressSpiritPosChaosHead: int=73;

        public /* var */__value: int;
    }
